package com.fxd.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @auther fuxudong
 * @date 2021/1/30 - 13:59
 * spring的配置类，相当于bean.xml
 */
@Configuration
@ComponentScan("com.fxd")
@Import({jdbcconifg.class,transactionconfig.class})
@PropertySource("classpath:jdbcConfig.properties")
@EnableTransactionManagement
public class springconfig {
}
